<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01-99乘法表</title>
    <style>
        span{
            display: inline-block;
            border: 1px solid #c2c2c2;
            text-align: center;
            margin: 5px 2px;
            width: 100px;
            box-shadow: 2px 2px 2px #ccc;
            background-color: beige;
        }
    </style>
</head>
<body>
    <!--无论做什么刚开始都要写上一个固定的死模板-->
    <script>
        for(let i=0;i<=9;i++){
            for(let j=0;j<=i;j++){
                document.write(`<span>1*1=1</span>`);
            }
            //换行
            document.write(`<br>`);
        }
    </script>
</body>
</html>